package card;

import java.util.List;

/**
 * @author 兴趣使然黄小黄
 * @version 1.0
 * 扑克牌游戏测试
 */
@SuppressWarnings({"all"})
public class Test {

    public static void main(String[] args) {
        Game game = new Game();
        // 初始化
        List<Poker> pokers = game.buyPoker();
        // 洗牌
        game.shuffle(pokers);
        // 发牌
        List<List<Poker>> personsPokers = game.game(pokers);
        // 查看牌
        for (int i = 0; i < personsPokers.size(); i++) {
            System.out.println("第" + (i+1) + "个人的牌有: " + personsPokers.get(i));
        }
    }
}
